package cn.itcast.com.Tree;

/**
 * Created by 郭浩 on 2020/8/20 11:19
 */
public class demo {
    public static void main(String[] args) {
        String s = "123";
        String s2 = "456";
        int i = s.compareTo(s2);
        System.out.println(i);
    }
}
